package com.lab.idea.bl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lab.idea.mybatis.entity.LabEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * excel列头
 * </p>
 *
 * @author lab
 * @since 2023-11-08
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("bl_excel_column")
@ApiModel(value = "ExcelColumn对象", description = "excel列头")
public class ExcelColumn extends LabEntity<ExcelColumn> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "columnId", type = IdType.ASSIGN_ID)
    private String columnId;

    @TableField("excelId")
    private String excelId;

    @TableField("sheetId")
    private String sheetId;

    @TableField("columnOrder")
    private Integer columnOrder;

    @TableField("columnTitle")
    private String columnTitle;

    @TableField("columnProp")
    private String columnProp;

    @TableField("columnScript")
    private String columnScript;

    @TableField("sheetName")
    private String sheetName;

    @TableField(value = "copyId",exist = false)
    private String copyId;

    @Override
    public Serializable pkVal() {
        return this.columnId;
    }
}
